using System.Collections.Generic;

namespace WikiApp.Models
{
    public class CardData
    {
        public List<VersionContent> Versions { get; set; } = new();
        public DirectoryStructure Directory { get; set; } = new();
    }

    public class VersionContent
    {
        public string Version { get; set; } = string.Empty;
        public List<Step> Steps { get; set; } = new();
    }

    public class Step
    {
        public string Description { get; set; } = string.Empty;
        public List<Task> Tasks { get; set; } = new();
        public List<Command> Commands { get; set; } = new();
    }

    public class Task
    {
        public string Text { get; set; } = string.Empty;
    }

    public class Command
    {
        public string Value { get; set; } = string.Empty;
    }

    public class DirectoryStructure
    {
        public DirectoryItem Root { get; set; } = new();
    }

    public class DirectoryItem
    {
        public string Name { get; set; } = string.Empty;
        public string Content { get; set; } = string.Empty;
        public List<DirectoryItem> Items { get; set; } = new();
    }
} 